package test.test;

import java.io.File;
import java.io.IOException;

public class Crawl {

	public static void main(String[] args) throws Exception {

		String url = " ";

		url = "http://news.sina.com.cn/";
		
		//String path = "G:\\2016实习\\temp\\chinese.txt";
		String path = "chinese.txt";
		File outFile = new File(path);
		try {
			Utils.GetHtmlContent(url, outFile);

		} catch (IOException e) {

			e.printStackTrace();

		}

		System.out.println("ok");

	}

}

